package com.project.service;

import com.project.bean.CutPageBean;
import com.project.bean.StudentBean;

import java.time.LocalDate;
import java.util.List;

public interface IStudentService {
    public void add(StudentBean student);
    public void update(int id,String tel);
    public List<StudentBean> findByName(String name);
    public StudentBean findById(int id);
    public List<StudentBean> findByBirthday(LocalDate startDate,LocalDate endDate);
    public void addMore(List<StudentBean> list);
    public List<StudentBean> findByItem(String name,LocalDate startDate,LocalDate endDate);
    public CutPageBean<StudentBean> findAll(int pageNO);
    public CutPageBean<StudentBean> cutByItem(int pageNO,String name,LocalDate startDate,LocalDate endDate);
}
